package com.jihu.design.behavioral.observer;

import java.util.List;

/**
 * @author jihu
 * @date 2021/9/29
 */
public abstract class AbstractFans {

    List<AbstractTikToker> tikTokers;//双休绑定

    abstract void acceptMsg(String msg);

    void follow(AbstractTikToker tikToker){
        //主播增粉了
        tikToker.addFans(this);
//        for (AbstractTikToker toker : tikTokers) {
//
//        }
    }
}
